package com.iretailer.report.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @author Bennie
 */
@Data
@TableName(value = "t_camera_coefficient")
public class Coefficient {
    @TableId(value = "Id", type = IdType.UUID)
    @JSONField(name = "Id")
    private String id;

    @JSONField(name = "CompanyId")
    @TableField(value = "CompanyId")
    private String companyId;

    @JSONField(name = "Weekdays")
    @TableField(value = "Weekdays")
    private String weekdays;

    @JSONField(name = "Description")
    @TableField(value = "Description")
    private String description;

    @JSONField(name = "StartDate")
    @TableField(value = "StartDate")
    private LocalDate startDate;

    @JSONField(name = "EndDate")
    @TableField(value = "EndDate")
    private LocalDate endDate;

    @JSONField(name = "zoneIds")
    @TableField(exist = false)
    private List<String> zoneIds;

    @JSONField(name = "Ranked")
    @TableField(value = "Ranked")
    private Integer ranked;

    @JSONField(name = "Value")
    @TableField(value = "value")
    private Double value;
}
